package com.bRoom.pojo;

import java.util.Date;

public class Admin {
    private Integer adminId;

    private String adminName;

    private String adminPassdword;

    private Integer adminRole;

    private Date createtime;

    private Date updatetime;

    public Admin(Integer adminId, String adminName, String adminPassdword, Integer adminRole, Date createtime, Date updatetime) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPassdword = adminPassdword;
        this.adminRole = adminRole;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Admin() {
        super();
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName == null ? null : adminName.trim();
    }

    public String getAdminPassdword() {
        return adminPassdword;
    }

    public void setAdminPassdword(String adminPassdword) {
        this.adminPassdword = adminPassdword == null ? null : adminPassdword.trim();
    }

    public Integer getAdminRole() {
        return adminRole;
    }

    public void setAdminRole(Integer adminRole) {
        this.adminRole = adminRole;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}